package com.kitchen.beans.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

public class Collect {
    /**
     * 收藏id
     */
    @Id
    @Column(name = "co_id")
    private Integer coId;

    /**
     * 用户id
     */
    @Column(name = "u_id")
    private Integer uId;

    /**
     * 菜单id
     */
    @Column(name = "f_id")
    private Integer fId;

    /**
     * 收藏时间
     */
    @Column(name = "co_time")
    private Date coTime;

    /**
     * 获取收藏id
     *
     * @return co_id - 收藏id
     */
    public Integer getCoId() {
        return coId;
    }

    /**
     * 设置收藏id
     *
     * @param coId 收藏id
     */
    public void setCoId(Integer coId) {
        this.coId = coId;
    }

    /**
     * 获取用户id
     *
     * @return u_id - 用户id
     */
    public Integer getuId() {
        return uId;
    }

    /**
     * 设置用户id
     *
     * @param uId 用户id
     */
    public void setuId(Integer uId) {
        this.uId = uId;
    }

    /**
     * 获取菜单id
     *
     * @return f_id - 菜单id
     */
    public Integer getfId() {
        return fId;
    }

    /**
     * 设置菜单id
     *
     * @param fId 菜单id
     */
    public void setfId(Integer fId) {
        this.fId = fId;
    }

    /**
     * 获取收藏时间
     *
     * @return co_time - 收藏时间
     */
    public Date getCoTime() {
        return coTime;
    }

    /**
     * 设置收藏时间
     *
     * @param coTime 收藏时间
     */
    public void setCoTime(Date coTime) {
        this.coTime = coTime;
    }
}